Module: Zync::Generators::Actions::ClassMethods

Defined in:
lib/zync-gen/generators/actions.rb

Instance Method Summary collapse

Instance Method Details

#require_arguments!Object

Tell to zync that for this Thor::Group is necessary a task to run



11
12
13
# File 'lib/zync-gen/generators/actions.rb', line 11

def require_arguments!
  @require_arguments = true
end

#require_arguments?Boolean

Return true if we need an arguments for our Thor::Group

Returns:

  • (Boolean)


16
17
18
# File 'lib/zync-gen/generators/actions.rb', line 16

def require_arguments?
  @require_arguments
end