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
71 72 73 74 75 76 |
# File 'lib/bluff/builder.rb', line 71 def for(field, = {}, &block) = {:bang => true}.merge() extend_bluff(field, , &block) extend_target(field, ) end |