Class: Redcar::Groovy
- Inherits:
-
Object
show all
- Defined in:
- lib/groovy.rb,
lib/groovy/commands.rb,
lib/groovy/repl_mirror.rb,
lib/groovy/syntax_checker.rb
Defined Under Namespace
Classes: OpenGroovyREPL, ReplMirror, SyntaxChecker
Class Method Summary
collapse
Class Method Details
.keymaps ⇒ Object
26
27
28
29
30
31
32
33
34
35
36
|
# File 'lib/groovy.rb', line 26
def self.keymaps
osx = Keymap.build("main", :osx) do
link "Cmd+Alt+G", OpenGroovyREPL
end
linwin = Keymap.build("main", [:linux, :windows]) do
link "Ctrl+Alt+G", OpenGroovyREPL
end
[linwin, osx]
end
|
.load_dependencies ⇒ Object
9
10
11
12
13
14
|
# File 'lib/groovy.rb', line 9
def self.load_dependencies
unless @loaded
require File.expand_path("../../groovy-all-1.7.4", __FILE__)
@loaded = true
end
end
|
16
17
18
19
20
21
22
23
24
|
# File 'lib/groovy.rb', line 16
def self.
Redcar::Menu::Builder.build do
"Plugins" do
"REPL" do
item "Open Groovy REPL", OpenGroovyREPL
end
end
end
end
|