mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
don't expose #events
This commit is contained in:
parent
4fd58db233
commit
7aae9e432d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue