class Fastlane::Argument
Represents an argument to the ActionCommand
Attributes
Public Class Methods
Source
# File fastlane/lib/fastlane/server/action_command.rb, line 4 def initialize(json: nil) @name = json['name'] @value = json['value'] @value_type = json['value_type'] end
Public Instance Methods
Source
# File fastlane/lib/fastlane/server/action_command.rb, line 14 def inspect if is_named return "named argument: #{name}, value: #{value}, type: #{value_type}" else return "unnamed argument value: #{value}, type: #{value_type}" end end
Source
# File fastlane/lib/fastlane/server/action_command.rb, line 10 def is_named return @name.to_s.length > 0 end