Class: SiriCal::Say

Inherits:
Object
  • Object
show all
Defined in:
lib/siri_cal/say_proxy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(regexp, &block) ⇒ Say

Returns a new instance of Say.



4
5
6
# File 'lib/siri_cal/say_proxy.rb', line 4

def initialize(regexp, &block)
  self.regexp, self.block = regexp, block
end

Instance Attribute Details

#blockObject

Returns the value of attribute block.



8
9
10
# File 'lib/siri_cal/say_proxy.rb', line 8

def block
  @block
end

#capturesObject

Returns the value of attribute captures.



8
9
10
# File 'lib/siri_cal/say_proxy.rb', line 8

def captures
  @captures
end

#regexpObject

Returns the value of attribute regexp.



8
9
10
# File 'lib/siri_cal/say_proxy.rb', line 8

def regexp
  @regexp
end