Sha256: 3a8eadfbc5c829ad1ca5bcbbcb88812534ecf1a22b7d2502e1bd1464a3573e19

Contents?: true

Size: 341 Bytes

Versions: 19

Compression:

Stored size: 341 Bytes

Contents

#
module AdminIt
  using EnsureIt if EnsureIt.refined?

  #
  class Action
    extend ExtendIt::Base
    include ExtendIt::Dsl
    include Iconed
    include DisplayableName

    dsl do
      dsl_accessor :layout
    end

    attr_reader :layout

    def layout=(value)
      @layout = value.ensure_symbol(values: LAYOUTS)
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
admin_it-1.3.8 lib/admin_it/actions/action.rb
admin_it-1.3.7 lib/admin_it/actions/action.rb
admin_it-1.3.6 lib/admin_it/actions/action.rb
admin_it-1.3.5 lib/admin_it/actions/action.rb
admin_it-1.3.4 lib/admin_it/actions/action.rb
admin_it-1.3.3 lib/admin_it/actions/action.rb
admin_it-1.3.2 lib/admin_it/actions/action.rb
admin_it-1.3.1 lib/admin_it/actions/action.rb
admin_it-1.3.0 lib/admin_it/actions/action.rb
admin_it-1.2.8 lib/admin_it/actions/action.rb
admin_it-1.2.7 lib/admin_it/actions/action.rb
admin_it-1.2.6 lib/admin_it/actions/action.rb
admin_it-1.2.5 lib/admin_it/actions/action.rb
admin_it-1.2.4 lib/admin_it/actions/action.rb
admin_it-1.2.3 lib/admin_it/actions/action.rb
admin_it-1.2.2 lib/admin_it/actions/action.rb
admin_it-1.2.1 lib/admin_it/actions/action.rb
admin_it-1.2.0 lib/admin_it/actions/action.rb
admin_it-1.1.0 lib/admin_it/actions/action.rb