Module: Elementy
- Defined in:
- lib/elementy.rb,
lib/elementy/element.rb,
lib/elementy/version.rb
Defined Under Namespace
Classes: Element
Constant Summary collapse
- VERSION =
"0.1.1"
Class Method Summary collapse
- .root ⇒ Object
-
.search(term) ⇒ Elementy::Element
Searches for and returns and element if found.
Class Method Details
.root ⇒ Object
6 7 8 |
# File 'lib/elementy.rb', line 6 def root File.dirname(File.dirname(__FILE__)) end |
.search(term) ⇒ Elementy::Element
Searches for and returns and element if found.
number to search for
15 16 17 |
# File 'lib/elementy.rb', line 15 def search(term) Elementy::Element.search term end |