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)


207
208
209
# File 'lib/git-style-binary/command.rb', line 207

def is_primary?
  true
end

#primaryObject



210
211
212
# File 'lib/git-style-binary/command.rb', line 210

def primary
  self
end