Class: Motley::AttDef::URI

Inherits:
Motley::AttDef show all
Defined in:
lib/motley.rb

Overview

Motley::AttDef::URI

Instance Attribute Summary

Attributes inherited from Motley::AttDef

#set_once

Instance Method Summary collapse

Methods inherited from Motley::AttDef

#initialize

Constructor Details

This class inherits a constructor from Motley::AttDef

Instance Method Details

#set(val) ⇒ Object


set



194
195
196
# File 'lib/motley.rb', line 194

def set(val)
	return URI(val)
end

#to_str(val) ⇒ Object


to_str



205
206
207
# File 'lib/motley.rb', line 205

def to_str(val)
	return val.to_s
end