Module: IDL::Ruby::LeafMixin

Defined in:
lib/ridlbe/ruby/config.rb

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

RESERVED_RUBY_CONST =
[
  'Array', 'Bignum', 'Binding', 'Class', 'Continuation', 'Dir', 'Exception',
  'FalseClass', 'File', 'Fixnum', 'Float', 'Hash', 'Integer', 'IO', 'MatchData',
  'Method', 'Module', 'NilClass', 'Numeric', 'Object', 'Proc', 'Process', 'Range',
  'Regexp', 'String', 'Struct', 'Symbol', 'Thread', 'ThreadGroup', 'Time', 'TrueClass',
  'UnboundMethod', 'Comparable', 'Enumerable', 'Errno', 'FileTest', 'GC', 'Kernel',
  'Marshal', 'Math', 'ObjectSpace', 'Signal'
]
RESERVED_RUBY_MEMBER =
[
  "untaint", "id", "instance_variable_get", "inspect", "taint", "public_methods", "__send__", "to_a", "display", "instance_eval",
  "extend", "clone", "protected_methods", "hash", "freeze", "type", "instance_variable_set", "methods", "instance_variables", "to_s", "method", "dup",
  "private_methods", "object_id", "send", "__id__", "singleton_methods",
  "proc", "readline", "global_variables", "singleton_method_removed", "callcc", "syscall", "fail", "untrace_var", "load", "srand", "puts", "catch", "chomp",
  "initialize_copy", "format", "scan", "print", "abort", "fork", "gsub", "trap", "test", "select", "initialize", "method_missing", "lambda", "readlines",
  "local_variables", "singleton_method_undefined", "system", "open", "caller", "eval", "set_trace_func", "require", "rand", "singleton_method_added",
  "throw", "gets", "binding", "raise", "warn", "getc", "exec", "trace_var", "irb_binding", "at_exit", "split", "putc", "loop", "chop", "sprintf", "p",
  "remove_instance_variable", "exit", "printf", "sleep", "sub", "autoload"
]

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



278
279
280
# File 'lib/ridlbe/ruby/config.rb', line 278

def self.included(klass)
  klass.extend ClassMethods
end

Instance Method Details

#rubynameObject



282
283
284
# File 'lib/ridlbe/ruby/config.rb', line 282

def rubyname
  lm_name
end

#scoped_rubynameObject



286
287
288
# File 'lib/ridlbe/ruby/config.rb', line 286

def scoped_rubyname
  scoped_lm_name
end