Class: DataFiles::Autocompletion::ParsedInput

Inherits:
Struct
  • Object
show all
Defined in:
lib/data_files/autocompletion.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#attribute_nameObject

Returns the value of attribute attribute_name

Returns:

  • (Object)

    the current value of attribute_name



9
10
11
# File 'lib/data_files/autocompletion.rb', line 9

def attribute_name
  @attribute_name
end

#attribute_valueObject

Returns the value of attribute attribute_value

Returns:

  • (Object)

    the current value of attribute_value



9
10
11
# File 'lib/data_files/autocompletion.rb', line 9

def attribute_value
  @attribute_value
end

#klass_nameObject

Returns the value of attribute klass_name

Returns:

  • (Object)

    the current value of klass_name



9
10
11
# File 'lib/data_files/autocompletion.rb', line 9

def klass_name
  @klass_name
end

#method_nameObject

Returns the value of attribute method_name

Returns:

  • (Object)

    the current value of method_name



9
10
11
# File 'lib/data_files/autocompletion.rb', line 9

def method_name
  @method_name
end

Instance Method Details

#valid?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/data_files/autocompletion.rb', line 10

def valid?
  klass_name && method_name && attribute_name
end