glymour 0.0.2 → 0.0.21
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/glymour/version.rb +1 -1
- data/lib/stats_module.rb +1 -1
- metadata +3 -3
data/lib/glymour/version.rb
CHANGED
data/lib/stats_module.rb
CHANGED
@@ -43,7 +43,7 @@ module Glymour
|
|
43
43
|
|
44
44
|
# Gives an array of all variable values in table
|
45
45
|
def values
|
46
|
-
if variable_container.table < ActiveRecord
|
46
|
+
if variable_container.table < ActiveRecord::Base
|
47
47
|
intervals ? variable_container.table.all.map { |row| location_in_interval(row) } : variable_container.table.map { |r| @block.call(r) }
|
48
48
|
else
|
49
49
|
intervals ? variable_container.table.map { |row| location_in_interval(row) } : variable_container.table.map(&@block)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glymour
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 53
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 21
|
10
|
+
version: 0.0.21
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Brian Stanwyck
|