module SimpleStates::Helpers

Public Instance Methods

to_past(string) click to toggle source
# File lib/simple_states/helpers.rb, line 3
def to_past(string)
  "#{string}ed".sub(/eed$/, 'ed')
end