Module: Bluff::Builder::ClassMethods
- Included in:
- Bluff
- Defined in:
- lib/bluff/builder.rb
Instance Method Summary collapse
-
#for(field, options = {}, &block) ⇒ Object
options: class_name.
Instance Method Details
#for(field, options = {}, &block) ⇒ Object
options: class_name
9 10 11 12 13 14 |
# File 'lib/bluff/builder.rb', line 9 def for(field, = {}, &block) = {:bang => true}.merge() extend_bluff(field, , &block) extend_target(field, ) end |