Class: Rant::SignedNodeFactory

Inherits:
DefaultNodeFactory show all
Defined in:
lib/rant/import/nodes/signed.rb

Instance Method Summary collapse

Methods inherited from DefaultNodeFactory

#new_custom, #new_task

Instance Method Details

#new_auto_subfile(rac, name, pre, blk) ⇒ Object


19
20
21
# File 'lib/rant/import/nodes/signed.rb', line 19

def new_auto_subfile(rac, name, pre, blk)
    Generators::AutoSubSignedFile.new(rac, name, pre, &blk)
end

#new_dir(rac, name, pre, blk) ⇒ Object


16
17
18
# File 'lib/rant/import/nodes/signed.rb', line 16

def new_dir(rac, name, pre, blk)
    Generators::SignedDirectory.new(rac, name, pre, &blk)
end

#new_file(rac, name, pre, blk) ⇒ Object


13
14
15
# File 'lib/rant/import/nodes/signed.rb', line 13

def new_file(rac, name, pre, blk)
    Generators::SignedFile.new(rac, name, pre, &blk)
end

#new_source(rac, name, pre, blk) ⇒ Object


22
23
24
# File 'lib/rant/import/nodes/signed.rb', line 22

def new_source(rac, name, pre, blk)
    SignedSourceNode.new(rac, name, pre, &blk)
end