Sha256: 93bb7888df5361bde5c87ecfa5ca68055f32c68d9447f63823b5c523d1fbb9ee
Contents?: true
Size: 405 Bytes
Versions: 1
Compression:
Stored size: 405 Bytes
Contents
module Relish module Command module Dsl class Base attr_reader :context def initialize(context) @context = context end def context_eval(&block) context.class_eval(&block) end def context_name context.name.split('::').last.downcase end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
relish-0.0.9 | lib/relish/commands/dsl/base.rb |