lib/ridl/delegate.rb
def pragma_version(id, major, minor)
    ids = id.split('::')
    global = false
    if ids.first.empty?
      global = true
      ids.shift
    end
    t = parse_scopedname(global, ids)
    t.node.set_repo_version(major, minor)
  end
# #pragma handler registry
# each keyed entry a callable object:
# - responds to #call(delegator, cur_node, pragma_string)
# - returns boolean to indicate pragma recognized and handled (true) or not (false)
pragma handler registry
each keyed entry a callable object:
responds to #call(delegator, cur_node, pragma_string)
returns boolean to indicate pragma recognized and handled (true) or not (false)
pragma handler registry each keyed entry a callable object : responds to #call ( delegator cur_node pragma_string ) returns boolean to indicate pragma recognized and handled ( true ) or not ( false )
def pragma_version(id, major, minor)
    ids = id.split('::')
    global = false
    if ids.first.empty?
      global = true
      ids.shift
    end
    t = parse_scopedname(global, ids)
    t.node.set_repo_version(major, minor)
  end
def pragma_version ( id , major , minor ) ids = id . split ( '::' ) global = false if ids . first . empty? global = true ids . shift end t = parse_scopedname ( global , ids ) t . node . set_repo_version ( major , minor ) end
pragma handler registry
each keyed entry a callable object:
 responds to #call(delegator, cur_node, pragma_string)
 returns boolean to indicate pragma recognized and handled (true) or not (false)
pragma handler registry each keyed entry a callable object : responds to #call ( delegator cur_node pragma_string ) returns boolean to indicate pragma recognized and handled ( true ) or not ( false )
id
major
minor