don't expose #events
This commit is contained in:
parent
4fd58db233
commit
7aae9e432d
|
@ -36,7 +36,7 @@ module AASM
|
||||||
# Error if event defines no transitions?
|
# Error if event defines no transitions?
|
||||||
end
|
end
|
||||||
|
|
||||||
# TODO I don't much like exposing this
|
private
|
||||||
def events
|
def events
|
||||||
@aasm_events ||= {}
|
@aasm_events ||= {}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue