Module: Presenting::Configurable
- Included in:
- Presentation::Base, Presentation::FieldSearch::Field, Presentation::Form::Field, Presentation::Form::Group, Attribute, Search, Search::Field, Sorting, Sorting::Field
- Defined in:
- lib/presenting/configurable.rb
Instance Method Summary collapse
Instance Method Details
#initialize(options = {}) {|_self| ... } ⇒ Object
3 4 5 6 7 8 |
# File 'lib/presenting/configurable.rb', line 3 def initialize( = {}, &block) .each do |k, v| self.send("#{k}=", v) end yield self if block_given? end |