Module: Sashite::PAN

Defined in:
lib/sashite/pan.rb,
lib/sashite/pan/action.rb,
lib/sashite/pan/dumper.rb,
lib/sashite/pan/parser.rb

Overview

The PAN (Portable Action Notation) module

Defined Under Namespace

Classes: Action, Dumper, Parser

Class Method Summary collapse

Class Method Details

.dump(*actions) ⇒ Object



6
7
8
# File 'lib/sashite/pan.rb', line 6

def self.dump(*actions)
  Dumper.call(*actions)
end

.parse(string) ⇒ Object



10
11
12
# File 'lib/sashite/pan.rb', line 10

def self.parse(string)
  Parser.call(string)
end