Class: ActiveScaffold::Config::Refresh
- Defined in:
- lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/refresh.rb
Constant Summary collapse
- @@link =
ActiveScaffold::DataStructures::ActionLink.new('refresh', :label => :refresh, :type => :table, :inline => true, :position => false, :security_method => :refresh_authorized?)
Instance Attribute Summary collapse
-
#link ⇒ Object
the ActionLink for this action.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(core_config) ⇒ Refresh
constructor
A new instance of Refresh.
Methods inherited from Base
#crud_type, #formats, #formats=, inherited
Methods included from ActiveScaffold::Configurable
Constructor Details
#initialize(core_config) ⇒ Refresh
Returns a new instance of Refresh.
5 6 7 8 9 10 |
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/refresh.rb', line 5 def initialize(core_config) @core = core_config # start with the ActionLink defined globally @link = self.class.link.clone end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ActiveScaffold::Configurable
Instance Attribute Details
#link ⇒ Object
the ActionLink for this action
20 21 22 |
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/refresh.rb', line 20 def link @link end |