Module: SiriCal::StepMethods

Defined in:
lib/siri_cal.rb

Instance Method Summary collapse

Instance Method Details

#says(regexp = nil, &block) ⇒ Object



31
32
33
34
35
# File 'lib/siri_cal.rb', line 31

def says(regexp=nil, &block)
  @proxy = SayProxy
  @proxy << Say.new(regexp, &block) if regexp && block
  @proxy
end