excel-rb-appscript 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Excel rb-appscript
2
2
 
3
- This is just an extension on rb-appscript, for Excel.
4
- Because of the lack of documentation how to use Ruby - Apple Script on Excel, the idea is to have some of most frequently used excel dictionary/actions.
3
+ This is just an rb-appscript API for Excel.
4
+ Because of the lack of documentations on how to use Ruby - Apple Script on Excel, the idea is of this is to have some of most frequently used excel dictionary/actions here.
5
5
 
6
6
 
7
7
  ## Excel Structure
@@ -11,7 +11,7 @@ Gem::Specification.new do |gem|
11
11
  # gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
12
12
  gem.name = "excel-rb-appscript"
13
13
  gem.require_paths = ["lib"]
14
- gem.version = "0.0.2"
14
+ gem.version = "0.0.3"
15
15
 
16
16
 
17
17
  gem.add_runtime_dependency "rb-appscript"
data/lib/Excel/app.rb CHANGED
@@ -28,6 +28,10 @@ module Excel
28
28
  def self.workbooks
29
29
  app_object.workbooks.get.collect {|wb| wb.name.get }
30
30
  end
31
+
32
+ def self.workbooks_paths
33
+ app_object.workbooks.get.collect {|wb| "#{wb.path.get}:#{wb.name.get}" }
34
+ end
31
35
 
32
36
  def self.workbook wb
33
37
  # raise "Workbook not found" if !(workbooks.include? wb)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: excel-rb-appscript
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-18 00:00:00.000000000 Z
12
+ date: 2012-06-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rb-appscript