class Dotremap::Vkopenurldef
Public Class Methods
new(application)
click to toggle source
# File lib/dotremap/vkopenurldef.rb, line 6 def initialize(application) name = Dotremap::Property.new("name", "KeyCode::VK_OPEN_URL_APP_#{application.gsub(/ /, "_")}") url = Dotremap::Property.new("url", "/Applications/#{application}.app", type: "file") add_child(name, url) end