Class: O2Html::SrButton

Inherits:
Object
  • Object
show all
Defined in:
lib/o2html.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.define(attr) ⇒ Object



52
53
54
# File 'lib/o2html.rb', line 52

def self.define(attr)
  ['button', {type: 'button'}]
end

Instance Method Details

#onresponseObject



56
57
58
# File 'lib/o2html.rb', line 56

def onresponse()
  puts 'inside onresponse'
end