Class: GitStyleBinary::Primary

Inherits:
Command show all
Defined in:
lib/git-style-binary/command.rb

Instance Attribute Summary

Attributes inherited from Command

#constraints, #name, #opts

Instance Method Summary collapse

Methods inherited from Command

#[], #argv, #call_parser_run_block, defaults, #die, #full_name, #initialize, #load_all_parser_constraints, #load_parser_default_constraints, #load_parser_local_constraints, #load_parser_primary_constraints, #parser, #process_args, #process_args_with_subcmd, #process_parser!, #run, #running_subcommand?, #short_desc

Constructor Details

This class inherits a constructor from GitStyleBinary::Command

Instance Method Details

#is_primary?Boolean

Returns:

  • (Boolean)


196
197
198
# File 'lib/git-style-binary/command.rb', line 196

def is_primary?
  true
end

#primaryObject



199
200
201
# File 'lib/git-style-binary/command.rb', line 199

def primary
  self
end