Class: Motley::AttDef

Inherits:
Object
  • Object
show all
Defined in:
lib/motley.rb

Overview

Motley::AttDef

Direct Known Subclasses

Scalar, URI

Defined Under Namespace

Classes: Scalar, URI

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAttDef


initialize



111
112
113
# File 'lib/motley.rb', line 111

def initialize
	@set_once = false
end

Instance Attribute Details

#set_onceObject

Returns the value of attribute set_once.



106
107
108
# File 'lib/motley.rb', line 106

def set_once
  @set_once
end

Instance Method Details

#to_strObject


to_str



122
123
124
# File 'lib/motley.rb', line 122

def to_str
	raise 'zax/attdef/default/override-to-s'
end