class GitCompound::Command::Arguments::Type::Argument::String
String
argument implementation
Public Instance Methods
valid?()
click to toggle source
# File lib/git_compound/command/arguments/type/argument/string.rb, line 9 def valid? value!.is_a?(::String) end
Private Instance Methods
value()
click to toggle source
# File lib/git_compound/command/arguments/type/argument/string.rb, line 19 def value value!.to_s end
value!()
click to toggle source
# File lib/git_compound/command/arguments/type/argument/string.rb, line 15 def value! @args.find { |arg| arg.is_a?(::String) } end