Class: Kinbote::PageMatch
- Inherits:
-
Object
- Object
- Kinbote::PageMatch
- Defined in:
- lib/kinbote/page_match.rb
Instance Attribute Summary collapse
-
#attribute ⇒ Object
readonly
Returns the value of attribute attribute.
-
#page ⇒ Object
readonly
Returns the value of attribute page.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(page, attribute, value = nil) ⇒ PageMatch
constructor
A new instance of PageMatch.
Constructor Details
#initialize(page, attribute, value = nil) ⇒ PageMatch
Returns a new instance of PageMatch.
5 6 7 8 9 |
# File 'lib/kinbote/page_match.rb', line 5 def initialize(page, attribute, value=nil) @page = page @attribute = attribute @value = value end |
Instance Attribute Details
#attribute ⇒ Object (readonly)
Returns the value of attribute attribute.
3 4 5 |
# File 'lib/kinbote/page_match.rb', line 3 def attribute @attribute end |
#page ⇒ Object (readonly)
Returns the value of attribute page.
3 4 5 |
# File 'lib/kinbote/page_match.rb', line 3 def page @page end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
3 4 5 |
# File 'lib/kinbote/page_match.rb', line 3 def value @value end |