Class: Icss::PrimitiveType

Inherits:
Type
  • Object
show all
Defined in:
lib/icss/type.rb

Overview


Primitive Types

Constant Summary

Constants inherited from Type

Type::PRIMITIVE_TYPES

Instance Method Summary collapse

Methods inherited from Type

find, pig_name, primitive?, #title, #to_json

Instance Method Details

#primitive?Boolean

Returns:

  • (Boolean)


80
81
82
# File 'lib/icss/type.rb', line 80

def primitive?
  true
end

#to_hashObject



77
78
79
# File 'lib/icss/type.rb', line 77

def to_hash
  name.to_s
end