class PodspecEditor::Spec

Attributes

inner_spec[RW]

Public Class Methods

new(json_content) click to toggle source
# File lib/podspec_editor.rb, line 27
def initialize(json_content)
  @inner_spec = JSON.parse(json_content, object_class: OpenStruct)
end

Public Instance Methods

method_missing(method, *args, &block) click to toggle source

read

# File lib/podspec_editor.rb, line 32
def method_missing(method, *args, &block)
  inner_spec.send(method, *args, &block)
end