Module: Bluff::Builder::ClassMethods

Included in:
Bluff
Defined in:
lib/bluff/builder.rb

Instance Method Summary collapse

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, options = {}, &block)
  options = {:bang => true}.merge(options)
    
  extend_bluff(field, options, &block)
  extend_target(field, options)
end