Sha256: 636c059ebf66fbd9cd5a96f92ad61ba8fd14c7950e1aac2feedb24970b25750a
Contents?: true
Size: 369 Bytes
Versions: 1
Compression:
Stored size: 369 Bytes
Contents
require_relative 'attributes' require_relative 'dsl' module Woyo class WorldObject #prepend Attributes include Attributes include DSL attr_reader :id, :context attr_accessor :_test def initialize id, context: nil, &block @id = id.to_s.downcase.to_sym @context = context super # initializes attributes evaluate &block end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
woyo-world-0.0.6 | lib/woyo/world/world_object.rb |