Class: RuboCop::Schema::Attribute

Inherits:
Struct
  • Object
show all
Defined in:
lib/rubocop/schema/value_objects.rb

Instance Attribute Summary collapse

Instance Attribute Details

#defaultObject

Returns the value of attribute default

Returns:

  • (Object)

    the current value of default



4
5
6
# File 'lib/rubocop/schema/value_objects.rb', line 4

def default
  @default
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



4
5
6
# File 'lib/rubocop/schema/value_objects.rb', line 4

def name
  @name
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



4
5
6
# File 'lib/rubocop/schema/value_objects.rb', line 4

def type
  @type
end