Class: SiriCal::Say
- Inherits:
-
Object
- Object
- SiriCal::Say
- Defined in:
- lib/siri_cal/say_proxy.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
-
#captures ⇒ Object
Returns the value of attribute captures.
-
#regexp ⇒ Object
Returns the value of attribute regexp.
Instance Method Summary collapse
-
#initialize(regexp, &block) ⇒ Say
constructor
A new instance of Say.
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
#block ⇒ Object
Returns the value of attribute block.
8 9 10 |
# File 'lib/siri_cal/say_proxy.rb', line 8 def block @block end |
#captures ⇒ Object
Returns the value of attribute captures.
8 9 10 |
# File 'lib/siri_cal/say_proxy.rb', line 8 def captures @captures end |
#regexp ⇒ Object
Returns the value of attribute regexp.
8 9 10 |
# File 'lib/siri_cal/say_proxy.rb', line 8 def regexp @regexp end |