Sha256: 3a598d2b729b8452ea4625c3c22a43b9d1f469a1865d1445ff0d5b2c124783a4

Contents?: true

Size: 268 Bytes

Versions: 3

Compression:

Stored size: 268 Bytes

Contents

module HackTree
  module Node
    # Node (group/hack) regexp without delimiters.
    NAME_REGEXP = /[a-zA-Z_]\w*/

    # Node names which can't be used due to serious reasons.
    FORBIDDEN_NAMES = [
      :inspect,
      :method_missing,
      :to_s,
    ]
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hack_tree-0.1.2 lib/hack_tree/node.rb
hack_tree-0.1.1 lib/hack_tree/node.rb
hack_tree-0.1.0 lib/hack_tree/node.rb