Sha256: def87423577d213ed977ccf13b2b6bba448f7853eb06cf9334e2002441f5a485
Contents?: true
Size: 264 Bytes
Versions: 3
Compression:
Stored size: 264 Bytes
Contents
module WithFilters class Action attr_accessor :type, :attrs def initialize(type, options = {}) @type = type options[:type] = @type options[:value] = options.delete(:label) if options[:label] @attrs = options end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
with_filters-0.1.2 | lib/with_filters/models/action.rb |
with_filters-0.1.1 | lib/with_filters/models/action.rb |
with_filters-0.1.0 | lib/with_filters/models/action.rb |