lib/playmo/answer.rb in playmo-0.1.6 vs lib/playmo/answer.rb in playmo-0.1.7

- old
+ new

@@ -1,13 +1,13 @@ module Playmo class Answer - attr_accessor :answer, :options, :num, :action, :color + attr_accessor :answer, :options, :num, :block, :color def initialize(answer, options, num, &block) @answer = answer @options = options @num = num - @action = block + @block = block @color = Thor::Shell::Color.new end def default? options.try(:[], :default) == true \ No newline at end of file