エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント2件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
MyGem.configure Block
We recently enhanced Clearance with a configuration block that could be used in config/initialize... We recently enhanced Clearance with a configuration block that could be used in config/initializers/clearance.rb. I liked the way Airbrake did it and wanted to implement the same pattern: Airbrake.configure do |config| config.api_key = 'your_key_here' end module Clearance class << self attr_accessor :configuration end def self.configure self.configuration ||= Configuration.new yield(configuration)
2019/03/14 リンク