Module: LinkToAction

Defined in:
lib/link_to_action.rb,
lib/link_to_action/version.rb,
lib/generators/link_to_action/install_generator.rb

Defined Under Namespace

Modules: Generators, Helpers, Utils

Constant Summary collapse

VERSION =
"0.3.0"
@@use_cancan =
false
@@use_icons =
false
@@icons_size =
'large'
@@icons_place_left =
true
@@icon_new =
'plus'
@@icon_show =
''
@@icon_index =
''
@@icon_edit =
'edit'
@@icon_destroy =
'trash'
@@icon_back =
'undo'
@@use_classes =
false
@@classes_append =
false
@@class_default =
'btn'
@@class_new =
'btn-primary'
@@class_index =
''
@@class_edit =
nil
@@class_destroy =
'btn-danger'
@@class_back =
nil
@@size_class_default =
nil
@@size_class_large =
'btn-large'
@@size_class_small =
'btn-small'
@@size_class_mini =
'btn-mini'
@@show_methods =
[ :name, :to_s ]
@@destroy_confirm =
true
@@destroy_skip_pjax =
false

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (LinkToAction)

    the object that the method was called on


84
85
86
# File 'lib/link_to_action.rb', line 84

def self.setup
  yield self
end