Class: ActiveDocument::MarkLogicSearchOptions::ComputedBucket
- Inherits:
-
Object
- Object
- ActiveDocument::MarkLogicSearchOptions::ComputedBucket
- Defined in:
- lib/ActiveDocument/mark_logic_search_options.rb
Overview
end to_s
Instance Attribute Summary collapse
-
#anchor ⇒ Object
Returns the value of attribute anchor.
-
#ge ⇒ Object
Returns the value of attribute ge.
-
#lt ⇒ Object
Returns the value of attribute lt.
-
#name ⇒ Object
Returns the value of attribute name.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(name, ge, lt, anchor, title) ⇒ ComputedBucket
constructor
A new instance of ComputedBucket.
- #to_s ⇒ Object
Constructor Details
#initialize(name, ge, lt, anchor, title) ⇒ ComputedBucket
Returns a new instance of ComputedBucket.
147 148 149 150 151 152 153 |
# File 'lib/ActiveDocument/mark_logic_search_options.rb', line 147 def initialize (name, ge, lt, anchor, title) @name = name @ge = ge @lt = lt @anchor = anchor @title = title end |
Instance Attribute Details
#anchor ⇒ Object
Returns the value of attribute anchor.
145 146 147 |
# File 'lib/ActiveDocument/mark_logic_search_options.rb', line 145 def anchor @anchor end |
#ge ⇒ Object
Returns the value of attribute ge.
145 146 147 |
# File 'lib/ActiveDocument/mark_logic_search_options.rb', line 145 def ge @ge end |
#lt ⇒ Object
Returns the value of attribute lt.
145 146 147 |
# File 'lib/ActiveDocument/mark_logic_search_options.rb', line 145 def lt @lt end |
#name ⇒ Object
Returns the value of attribute name.
145 146 147 |
# File 'lib/ActiveDocument/mark_logic_search_options.rb', line 145 def name @name end |
#title ⇒ Object
Returns the value of attribute title.
145 146 147 |
# File 'lib/ActiveDocument/mark_logic_search_options.rb', line 145 def title @title end |
Instance Method Details
#to_s ⇒ Object
155 156 157 158 159 |
# File 'lib/ActiveDocument/mark_logic_search_options.rb', line 155 def to_s <<-XML <computed-bucket name="#{@name}" ge="#{@ge}" lt="#{@lt}" anchor="#{@anchor}">#{@title}</computed-bucket> XML end |