Method: TableSettings::Button#initialize
- Defined in:
- lib/table_settings/table_button.rb
#initialize(id, label, url_path) ⇒ Button
Returns a new instance of Button.
87 88 89 90 91 92 |
# File 'lib/table_settings/table_button.rb', line 87 def initialize(id, label, url_path) @id = id @hash = {:name => label} remote(true) url(url_path) end |