Here are some extensions to the Hash class used by
Locana.
Included modules
Returns a new Hash including the union of self and
h. This allows you to do things like:
hash = {:my_value=>4}
hash + {:my_other_value=>10} => {:my_value=>4, :my_other_value=>10}
- h - a Hash of values to add to self.
Returns a new Hash with elements from h removed
from self. This allows you to do things like:
hash = {:my_value=>4, :another=>'test'}
hash - {:another=>1} => {:my_value=>4}
- h - a Hash of values to subtract from self.
Returns an array of the keys after the keys have been converted to strings.
Thank you for taking the time to visit this web page. I trust you found the information contained in this page useful.
Please email any questions, concerns, or issues with this web site to webmaster@sevasoftware.com.
Please remember Seva Software when your company would benefit from an experienced database architect and software engineer.