Module: Rhosync::Resource::ClassMethods

Defined in:
lib/rhosync/resource.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) get_partition



18
19
20
# File 'lib/rhosync/resource.rb', line 18

def get_partition
  @partition.is_a?(Proc) ? @partition.call : @partition
end

- (Object) partition(p)



14
15
16
# File 'lib/rhosync/resource.rb', line 14

def partition(p)
  @partition = p
end