Sha256: 73ef361b5e2332d73007352c4e0baa0f866be2f343be7a1903a18056b9f9e9f5
Contents?: true
Size: 408 Bytes
Versions: 74
Compression:
Stored size: 408 Bytes
Contents
module Redcar class Keymap class Builder attr_reader :keymap def initialize(name, platforms, &block) @keymap = Keymap.new(name, platforms) if block.arity == 1 block.call(self) else instance_eval(&block) end end private def link(key, command) @keymap.link(key, command) end end end end
Version data entries
74 entries across 74 versions & 2 rubygems