Skip to content

Feature: take file_content of file_name in constructorΒ #27

@MadBomber

Description

@MadBomber

Suppose I have:

config = <<EOS
[my_group]
  my_param = 42
EOS
# I now want to do:
result = ParseConfig.new(config) # new feature takes content not filename
# and some place else I want to do
result = ParseConfig.new('/path/to/my.conf') # current way

What do you think? Does this have value to anyone else?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions