lib/massa/tool.rb in massa-0.2.0.rc1 vs lib/massa/tool.rb in massa-0.2.0.rc2
- old
+ new
@@ -5,12 +5,12 @@
attr_reader :name, :description, :gem, :command, :required
def initialize(name, attributes)
@name = name
@description = attributes['description']
- @gem = attributes['gem'].nil? ? true : attributes[:gem]
+ @gem = attributes['gem'].nil? ? true : attributes['gem']
@command = attributes['command']
- @required = attributes['required'].nil? ? true : attributes[:required]
+ @required = attributes['required'].nil? ? true : attributes['required']
end
alias required? required
alias gem? gem