class PageTable::Entry
Public Class Methods
new(attrs)
click to toggle source
# File template.rb, line 1245 def initialize(attrs) if !attrs.is_a?(Hash) raise MTRubyError, "attrs (#{attrs}) must be a Hash." end @attrs = attrs end
Public Instance Methods
method_missing(name, *args)
click to toggle source
# File template.rb, line 1252 def method_missing(name, *args) if args.count != 0 raise MTRubyError, "Wrong argument count: #{args.count}. Must be 0." end @attrs[name.to_sym] end