lib/state_manager/dsl.rb in state_manager-0.2.3 vs lib/state_manager/dsl.rb in state_manager-0.2.4
- old
+ new
@@ -29,21 +29,9 @@
event[:name] = name
specification.events[name] = event
define_method name, &block if block_given?
end
- # Helper to simplify creating dsl reader methods for specification
- # properties
- module_eval do
- def self.spec_property(name)
- class_eval do
- define_method name do |value|
- specification.send "#{name}=", value
- end
- end
- end
- end
-
# The initial state
def initial_state(value)
specification.initial_state = value
end
end
\ No newline at end of file