lib/tay/cli/helpers.rb in tay-0.0.2 vs lib/tay/cli/helpers.rb in tay-0.0.3

- old
+ new

@@ -3,10 +3,11 @@ module Helpers DEFAULT_TAYFILE = 'Tayfile' protected - def spec + def spec(bust_cache = false) + @spec = nil if bust_cache @spec ||= get_specification end def get_specification(path = nil) path = path ? Pathname.new(path) : tayfile_path \ No newline at end of file