Sha256: 30953820b2c9528cb9d3165050548d365587f9d0628330b2a7772b179c51f5e8
Contents?: true
Size: 315 Bytes
Versions: 4
Compression:
Stored size: 315 Bytes
Contents
module Xcselect class XcApp attr_accessor :simulator attr_accessor :path attr_reader :app_name def initialize(sim, path) @simulator = sim @path = path @app_name = File.basename Dir["#{path}/*.app"].first.sub /\.app$/, '' end def to_s "<#{self.class}: #{app_name}>" end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
xcselect-0.0.13 | lib/xcselect/xcapp.rb |
xcselect-0.0.12 | lib/xcselect/xcapp.rb |
xcselect-0.0.11 | lib/xcselect/xcapp.rb |
xcselect-0.0.10 | lib/xcselect/xcapp.rb |