Sha256: 8712dd1f251c8c09d8d4f5fe0686355a87b4002fc31694fdbd46c4b2d42042ec
Contents?: true
Size: 238 Bytes
Versions: 4
Compression:
Stored size: 238 Bytes
Contents
module Danica class Function < Common include ActiveModel::Model attr_accessor :name def initialize(*args) options = args.extract_options! super({ variables: args.flatten }.merge(options)) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
danica-2.0.3 | lib/danica/function.rb |
danica-2.0.2 | lib/danica/function.rb |
danica-2.0.1 | lib/danica/function.rb |
danica-2.0.0 | lib/danica/function.rb |