module Elementy
Constants
- VERSION
Public Class Methods
root()
click to toggle source
# File lib/elementy.rb, line 6 def root File.dirname(File.dirname(__FILE__)) end
search(term)
click to toggle source
Searches for and returns an element if found.
@param term [string, symbol, integer] the name, symbol, or atomic number to search for @return [Elementy::Element]
# File lib/elementy.rb, line 15 def search(term) Elementy::Element.search term end