Class: Bosh::Cli::Client::Uaa::Prompt

Inherits:
Struct
  • Object
show all
Defined in:
lib/cli/client/uaa/prompt.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#display_textObject

Returns the value of attribute display_text

Returns:

  • (Object)

    the current value of display_text



5
6
7
# File 'lib/cli/client/uaa/prompt.rb', line 5

def display_text
  @display_text
end

#fieldObject

Returns the value of attribute field

Returns:

  • (Object)

    the current value of field



5
6
7
# File 'lib/cli/client/uaa/prompt.rb', line 5

def field
  @field
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



5
6
7
# File 'lib/cli/client/uaa/prompt.rb', line 5

def type
  @type
end

Instance Method Details

#password?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/cli/client/uaa/prompt.rb', line 6

def password?
  type == 'password'
end