Class: Rupture::Symbol
- Inherits:
-
Object
- Object
- Rupture::Symbol
- Extended by:
- Forwardable
- Defined in:
- lib/rupture/symbol.rb
Overview
Use for symbols
Instance Method Summary collapse
-
#initialize(*args) ⇒ Symbol
constructor
A new instance of Symbol.
Constructor Details
#initialize(*args) ⇒ Symbol
Returns a new instance of Symbol.
7 8 9 10 |
# File 'lib/rupture/symbol.rb', line 7 def initialize(*args) Utils.verify_args(args, 1, 2) @symbol = args.join("/").to_sym end |