class Schizm::Parse::HashAttr
Hash attribute reference.
Public Class Methods
new(hash, attr)
click to toggle source
# File lib/schizm/parse.rb, line 80 def initialize hash, attr @hash = hash @attr = attr end
Public Instance Methods
to_s()
click to toggle source
# File lib/schizm/parse.rb, line 84 def to_s return @hash[@attr].to_s end