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



54
55
56
# File 'lib/o2html.rb', line 54

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

Instance Method Details

#onresponseObject



58
59
60
# File 'lib/o2html.rb', line 58

def onresponse()
  puts 'inside onresponse'
end