Module: Card::MachineInput::ClassMethods

Defined in:
mod/03_machines/lib/card/machine_input.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#machines_wqlObject

Returns the value of attribute machines_wql.



4
5
6
# File 'mod/03_machines/lib/card/machine_input.rb', line 4

def machines_wql
  @machines_wql
end

Instance Method Details

#machine_input(&block) ⇒ Object



10
11
12
# File 'mod/03_machines/lib/card/machine_input.rb', line 10

def machine_input &block
  define_method :machine_input, block
end

#machine_input_for(args) ⇒ Object



6
7
8
# File 'mod/03_machines/lib/card/machine_input.rb', line 6

def machine_input_for args
  @machines_wql = args
end