Class: Unit::Schema::Attribute

Inherits:
Struct
  • Object
show all
Defined in:
lib/unit-ruby/util/schema.rb

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



3
4
5
# File 'lib/unit-ruby/util/schema.rb', line 3

def name
  @name
end

#readonlyObject

Returns the value of attribute readonly

Returns:

  • (Object)

    the current value of readonly



3
4
5
# File 'lib/unit-ruby/util/schema.rb', line 3

def readonly
  @readonly
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



3
4
5
# File 'lib/unit-ruby/util/schema.rb', line 3

def type
  @type
end