module Shaun

The main module that holds every SHAUN related classes and some helper functions

Public Class Methods

list(ary) click to toggle source

Helper method to create a SHAUN list

# File lib/shaun.rb, line 116
def self.list(ary)
  ary.to_sn
end
number(value, unit = nil) click to toggle source

Helper method to create a SHAUN number

# File lib/shaun.rb, line 121
def self.number(value, unit = nil)
  Number.new value, unit
end
object(hash) click to toggle source

Helper method to create a SHAUN object

# File lib/shaun.rb, line 111
def self.object(hash)
  Object.new hash
end