Sha256: 0e63bd192d4b20485936382a7aeb9f1b14418dc0a01bdbab712a371b4221d0dc
Contents?: true
Size: 462 Bytes
Versions: 21
Compression:
Stored size: 462 Bytes
Contents
module Relish module Command module Dsl module ContextClass attr_reader :context_class def initialize(context_class) @context_class = context_class end def context_class_eval(&block) context_class.class_eval(&block) end def context_class_name context_class.name.split('::').last.downcase end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
relish-0.1.0 | lib/relish/commands/dsl/context_class.rb |