Sha256: fc5ed9a7152cdfe86acbe48e65817eb411edbacf627d9e8121baabd2a9e0ce97
Contents?: true
Size: 927 Bytes
Versions: 4
Compression:
Stored size: 927 Bytes
Contents
# This is the mission called when none of the others match. class Bond::DefaultMission < Bond::Mission ReservedWords = [ "BEGIN", "END", "alias", "and", "begin", "break", "case", "class", "def", "defined?", "do", "else", "elsif", "end", "ensure", "false", "for", "if", "in", "module", "next", "nil", "not", "or", "redo", "rescue", "retry", "return", "self", "super", "then", "true", "undef", "unless", "until", "when", "while", "yield" ] # Default action which generates methods, private methods, reserved words, local variables and constants. def self.completions(input=nil) Bond::Mission.current_eval("methods | private_methods | local_variables | " + "self.class.constants | instance_variables") | ReservedWords end def initialize(options={}) #@private options[:action] ||= self.class.method(:completions) super end def default_on; end #@private end
Version data entries
4 entries across 4 versions & 1 rubygems