class Supa::Commands::Attribute
Public Instance Methods
represent()
click to toggle source
# File lib/supa/commands/attribute.rb, line 4 def represent return if hide? @tree[@name] = value end
Private Instance Methods
hide?()
click to toggle source
# File lib/supa/commands/attribute.rb, line 12 def hide? value.nil? && hide_when_empty? end