Sha256: 646171eff5c7cf2922dc19dbae0ba6e44da21fc9832fb004c6c1c3857873a905
Contents?: true
Size: 334 Bytes
Versions: 18
Compression:
Stored size: 334 Bytes
Contents
require 'awestruct/astruct' module Awestruct class Context < Awestruct::AStruct attr_accessor :site attr_accessor :page def initialize(hash) super @page = hash[:page] @site = hash[:site] end def inspect "Awestruct::Context{:page=>#{self.page.inspect}}" end end end
Version data entries
18 entries across 18 versions & 2 rubygems