Sha256: a993b3a364e554a6da0995da9959b2372940e02ec0ec20a71532df761dc4d5dd
Contents?: true
Size: 463 Bytes
Versions: 1
Compression:
Stored size: 463 Bytes
Contents
module Typus module Actions protected def add_action(*args) options = args.extract_options! @actions ||= [] @actions << options end def prepend_action(*args) options = args.extract_options! @actions ||= [] @actions = @actions.unshift(options) end def append_action(*args) options = args.extract_options! @actions ||= [] @actions = @actions.concat([options]) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
typus-3.0.4 | lib/typus/actions.rb |