Class: Alf::Algebra::Image
- Inherits:
-
Object
- Object
- Alf::Algebra::Image
show all
- Includes:
- Binary, Shortcut
- Defined in:
- lib/alf/algebra/shortcut/image.rb
Instance Method Summary
collapse
Methods included from Binary
#common_attributes, #common_heading, included, #left, #right, #with_left, #with_right
Methods included from Shortcut
included
Instance Method Details
#expand ⇒ Object
15
16
17
18
19
|
# File 'lib/alf/algebra/shortcut/image.rb', line 15
def expand
grouped = join(left, group(right, common_attrs, name, allbut: true))
missing = extend(not_matching(left, right), name => group_type.empty)
union(grouped, missing)
end
|
#keys ⇒ Object
11
12
13
|
# File 'lib/alf/algebra/shortcut/image.rb', line 11
def keys
left.keys
end
|