Sha256: a08714e0a968941c8ac2e291e78b6b5826b033d31e1cf95ed37464372be94b64
Contents?: true
Size: 403 Bytes
Versions: 4
Compression:
Stored size: 403 Bytes
Contents
module LogCabin module Modules ## # Pull state from a homebrew cask file module HomebrewCask def load! raise('No name specified') unless @name cask_file = "Casks/#{@name}.rb" output = `brew cask _stanza version #{cask_file}` @state.value = output.strip end private def name(value) @name = value end end end end
Version data entries
4 entries across 4 versions & 1 rubygems