lib/hanami/generators/generatable.rb in hanami-0.7.3 vs lib/hanami/generators/generatable.rb in hanami-0.8.0
- old
+ new
@@ -44,8 +44,13 @@
end
def target_path
raise NotImplementedError, "must implement the target_path method"
end
+
+ def argument_blank?(value)
+ Hanami::Utils::Blank.blank?(value)
+ end
+
end
end
end