Class: Kinbote::PageMatch

Inherits:
Object
  • Object
show all
Defined in:
lib/kinbote/page_match.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#attributeObject (readonly)

Returns the value of attribute attribute.



3
4
5
# File 'lib/kinbote/page_match.rb', line 3

def attribute
  @attribute
end

#pageObject (readonly)

Returns the value of attribute page.



3
4
5
# File 'lib/kinbote/page_match.rb', line 3

def page
  @page
end

#valueObject (readonly)

Returns the value of attribute value.



3
4
5
# File 'lib/kinbote/page_match.rb', line 3

def value
  @value
end