class UiHelpers::Element::Classes
Public Instance Methods
commit(*args)
click to toggle source
# File lib/ui_helpers/elements/element.rb, line 5 def commit(*args) args.each do |arg| case arg when Hash then arg.each { |key, value| self << [key, value].compact.join("-") unless value.nil? } else self << arg end end end
to_s()
click to toggle source
# File lib/ui_helpers/elements/element.rb, line 14 def to_s join(" ") end