Class: Hash

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

Instance Method Summary (collapse)

Instance Method Details

- (Object) to_html_attrs



128
129
130
# File 'lib/sinatra/ratpack.rb', line 128

def to_html_attrs
  self.map{ |k,v| "#{k}=\"#{v}\"" }.sort.join(" ")
end